package gat.infrastructure.persistence.po.tg;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bitsun.core.framwork.infrastructure.persistence.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @author: yanshukeji-java
 * @email: yanshukeji-java
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "account_db", resultMap = "accountDbMap")
public class AccountDbPo extends BasePo<TgBotPo> implements Serializable{
    private static final long serialVersionUID = 1L;

    public AccountDbPo(){

    }
    public AccountDbPo(Long id){
        this.id = id;
    }

    @TableId(value = "id")
    @TableField(fill = FieldFill.INSERT)
    protected Long id;

    /**
     * 账号id VARCHAR
     */
    private String accountId;

    /**
     * 账号厂商 VARCHAR
     */
    private String accountSupplier;

    /**
     * 账号邮箱 VARCHAR
     */
    private String accountMail;

    /**
     * 账号密码 VARCHAR
     */
    private String accountPassword;

    /**
     * 邮箱密码 VARCHAR
     */
    private String mailPassword;

    /**
     * 状态 未分配 已分配 INT
     */
    private Integer status;

    /**
     * tg用户id VARCHAR
     */
    private String tgUserId;

    /**
     * 订单号 VARCHAR
     */
    private String orderNo;

    /**
     * 主账号id VARCHAR
     */
    private String primaryUid;

    /**
     * 邮箱登录地址 VARCHAR
     */
    private String mailLoginUrl;

    /**
     * 官网地址 VARCHAR
     */
    private String websiteUrl;

    /**
     * 备注 VARCHAR
     */
    private String remark;

    /**
     * 账号类型 VARCHAR
     */
    private String accountType;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private Long discount;

    // 来源 来源 excel导入 api查询
    private String source;

    private String botId;
}






